
package com.fx.apartment.modules.activity.vo;

import com.fx.apartment.modules.activity.entity.Activity;
import com.fx.apartment.modules.activity.entity.ActivityParticipation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

import java.util.List;

/**
 * 活动设置视图实体类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ActivityVO对象", description = "活动设置")
public class ActivityVO extends Activity {
	private static final long serialVersionUID = 1L;
	private List<ActivityParticipationVO> activityParticipationList;
	/**
	 * 参与人
	 */
	@ApiModelProperty(value = "参与人")
	private Integer participants;
	/**
	 * 投票数
	 */
	@ApiModelProperty(value = "投票数")
	private Integer totalVotes;
}
